package com.wsc.personalblog.DTO;

import com.wsc.personalblog.entity.Role;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RoleDTO {

    private List<Role> roleList;
    private List<Integer> idList;
    private Integer userId;

    public RoleDTO(List<Role> roleList, List<Integer> idList) {
        this.roleList = roleList;
        this.idList = idList;
    }
}
